package com.itheima.reggie.mapper;

import com.itheima.reggie.entity.DishFlavor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: Rodgers
 * @Date 2022/3/11 14:50
 */
public interface DishFlavorMapper {

    //插入多条口味数据
    Integer save(@Param("dishFlavorList")List<DishFlavor> dishFlavorsList);

    List<DishFlavor> findByDishId(Long dishId);
}
